import Vue from "vue";
import App from "./App.vue";

import * as myApi from "@/api";
import apiConfig from "./apiConfig/index";
import axios from "./plugins/axios";
import router from "./router";
import store from "./store";
import base from './assets/js/base'
import Vant from 'vant';
import 'vant/lib/index.css';
import quillEditor from 'vue-quill-editor';
Vue.use(quillEditor)
import 'quill/dist/quill.core.css';
import 'quill/dist/quill.snow.css';
import 'quill/dist/quill.bubble.css';
import BaiduMap from 'vue-baidu-map';
import * as echarts from "echarts";
//自定义全局搜索组件
// import SearchBar from "./components/global/SearchBar";
// Vue.component("search-bar", SearchBar);

//element ui
// import ElementUI from "element-ui"; 
// import "element-ui/lib/theme-chalk/index.css";
// Vue.use(ElementUI);
Vue.use(BaiduMap, {
  ak: 'IKCGrDVtxdNXTGGePRdYLo45ZBUlKNTm'
});
Vue.use(base)
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts 
// Vue.use(rem);//全局引入rem js

Vue.use(Vant);
Vue.prototype.$myApi=myApi



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
